import threading
_thread_locals = threading.local()